﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;

namespace Marx
{
    [CreateAssetMenu(fileName = "AppConfigs", menuName = "Marx/Configs", order = 1)]
    public class AppConfigs : ScriptableObject
    {
        //DLC
        [SerializeField] public string DLCWorkingDirectory = "_bundles";
        [SerializeField] public string DLCVersionFileName = "dlc_version.txt";
        [SerializeField] public string DLCVersionDetailFileName = "dlc_version_detail.json";
        [SerializeField] public string DLCBundleInfoFileName = "dlc_bundle_info.json";
        [SerializeField] public string DLCMainBundleFileName = "_bundles";

        [SerializeField] public string DLCVersionUrl;
        [SerializeField] public string DLCVersionDetailUrl;
        [SerializeField] public string DLCBundleInfoUrl;
        [SerializeField] public string DLCBundleRootUrl;

        //Hotfix
        [SerializeField] public string HotfixCodePath;
        [SerializeField] public string HotfixEntryClass;
        [SerializeField] public string HotfixEntryMethod;

        //ui
        [SerializeField] public string UIPopupRootPath;
        [SerializeField] public string UIAppInfoIconPath;
        [SerializeField] public string UIAppInfoPanelPath;

        //Templates
        [SerializeField] public string XlsTemplatePath = "./templates";
        [SerializeField] public string XlsDetailFilePath = "./templates/json_content.json";
    }
}
